package com.twetec.cms.model.po.user;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.twetec.cms.model.po.base.BasePO;
import java.util.Date;

/**
 * <p>
 * 用户表
 * </p>
 *
 * @author zhxl
 * @since 2020-10-28
 */
@TableName("UCENTER_USER")
public class UserPO extends BasePO {

    private static final long serialVersionUID=1L;

    /**
     * 工会会员id
     */
    @TableField("UNION_MEMBER_ID")
    private String unionMemberId;

    /**
     * 姓名
     */
    @TableField("NAME")
    private String name;

    /**
     * 头像
     */
    @TableField("AVATAR")
    private String avatar;

    /**
     * 证件类型
     */
    @TableField("CREDENTIAL_TYPE")
    private String credentialType;

    /**
     * 证件号码
     */
    @TableField("CREDENTIAL_NUMBER")
    private String credentialNumber;

    /**
     * 手机号
     */
    @TableField("TELEPHONE")
    private String telephone;

    /**
     * 状态,ON启用,OFF禁用
     */
    @TableField("STATUS")
    private String status;

    /**
     * 出生日期
     */
    @TableField("BIRTH_DATE")
    private Date birthDate;

    /**
     * 性别:男MALE 女FEMALE
     */
    @TableField("GENDER")
    private String gender;

    /**
     * 所属单位
     */
    @TableField("UNIT")
    private String unit;

    /**
     * 所属工会
     */
    @TableField("UNIONS")
    private String unions;

    /**
     * 数据域
     */
    @TableField("DATA_ORG")
    private String dataOrg;


    public String getUnionMemberId() {
        return unionMemberId;
    }

    public void setUnionMemberId(String unionMemberId) {
        this.unionMemberId = unionMemberId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getCredentialType() {
        return credentialType;
    }

    public void setCredentialType(String credentialType) {
        this.credentialType = credentialType;
    }

    public String getCredentialNumber() {
        return credentialNumber;
    }

    public void setCredentialNumber(String credentialNumber) {
        this.credentialNumber = credentialNumber;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Date getBirthDate() {
        return birthDate;
    }

    public void setBirthDate(Date birthDate) {
        this.birthDate = birthDate;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public String getUnions() {
        return unions;
    }

    public void setUnions(String unions) {
        this.unions = unions;
    }

    public String getDataOrg() {
        return dataOrg;
    }

    public void setDataOrg(String dataOrg) {
        this.dataOrg = dataOrg;
    }


    @Override
    public String toString() {
        return "UserPO{" +
                "unionMemberId='" + unionMemberId + '\'' +
                ", name='" + name + '\'' +
                ", avatar='" + avatar + '\'' +
                ", credentialType='" + credentialType + '\'' +
                ", credentialNumber='" + credentialNumber + '\'' +
                ", telephone='" + telephone + '\'' +
                ", status='" + status + '\'' +
                ", birthDate=" + birthDate +
                ", gender='" + gender + '\'' +
                ", unit='" + unit + '\'' +
                ", unions='" + unions + '\'' +
                ", dataOrg='" + dataOrg + '\'' +
                '}';
    }
}
